Matthew Boles
Macromedia
Bicycle Parts Catalog: Macromedia Flash and Databases
When building a Rich Internet Application (RIA), the first step is getting the Macromedia Flash application interface to read and write data to a database. This tutorial teaches you how to get started using a database with your RIAs by building an online bicycle parts catalog. You will learn how to:
- Create an application that reads and displays information using a database
- Gather information from the user
- Write the information to the database
You will build the application front end in Macromedia Flash MX and develop the back end using a ColdFusion component (CFC). Macromedia Flash Remoting provides the communication between the two.
This article covers just a small portion of Developing Rich Internet Applications with Macromedia Flash MX and the Advanced ActionScript for Applications instructor-led courses, offered by Macromedia Authorized Training Partners. If you like what you see and want to get the full experience, find a Macromedia Authorized Training Partner near you. Only at a Macromedia Authorized Training Partner location will you learn from instructors thoroughly trained and certified by Macromedia.. Get the skills you need to get ahead with Macromedia Training and Certification.
Requirements
To complete this article, you will need the following:
Software
Macromedia Flash MX
- Flash Remoting Components (contains NetServices.as)
- ColdFusion MX (contains Flash Remoting for ColdFusion MX)
- Dreamweaver MX
Downloads
Download the sample files (653 KB ZIP).Install them using the instructions provided in the Getting Started section of this tutorial.
-
Download the sample code (TXT).Note to Windows Internet Explorer users: Copy and paste sample code snippets from the sample code text file. Other users can copy the code directly from the tutorial web pages.
Table of Contents
- Overview of the Bicycle Parts Catalog Interface
- Getting Started
- Retrieving Part Info (Exercise 1)
- Populating the ListBox (Exercise 2)
- Implementing Data Drill-Down (Exercise 3)
- Transitioning from a Display to an Input Form (Exercise 4)
- Writing to the Database (Exercise 5)
- Summary
About the author
As a principal instructor for the Macromedia Educational Services group, Matthew Boles has been using or teaching ColdFusion for five years. Matthew has a diverse background in web development, computer networking, and teaching, in both professional computer classes and the public schools. He co-authored the Certified ColdFusion Developer Study Guide, and has recently worked as a course developer on the following official Macromedia Training courses: The FastTrack to Macromedia Flash MX, Macromedia Flash MX ActionScript, and Advanced ColdFusion MX Development.
Submit feedback on our tutorials, articles, and sample applications.